<?php 
require("../include/connectdb.php");
session_start();
if($_SESSION['login']==false){
	$_SESSION['error']="Cảnh báo: bạn phải đăng nhập trước khi vào phần quản trị trang web";
	header('location:index.php');
}
?>

<head>
	<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
	<link rel="stylesheet" type="text/css" href="../style/style.css" />
	<link rel="stylesheet" type="text/css" href="../style/global.css" />
	<script type="text/javascript" charset="utf-8" src="../js/utility.js"></script>
	<script type="text/javascript" charset="utf-8" src="../js/validate.js"></script>
	<title>C2group admin page</title>
</head>
<body style="height:100%;">
<div class="container_12">
	<div class="grid_12">
		<div class="grid_2 blockMain alpha " >
			<ul id="leftList">
				<li><a href="main.php?page=user">Tài khoản</a></li>
				<li><a href="main.php?page=lart&type=t2">Tin tức</a></li>
				<li><a href="main.php?page=lart&type=w">Web</a></li>
				<li><a href="main.php?page=lart&type=pm">Phần mềm</a></li>
				<li><a href="main.php?page=lart&type=dm">Domain</a></li>
				<li><a href="main.php?page=lart&type=sp">Sản phẩm</a></li>
				<li><a href="main.php?page=lart&type=dv">Dịch vụ</a></li>
				<li><a href="main.php?page=lart&type=tv">Tư vấn</a></li>
				<li><a href="main.php?page=lcon">Liên hệ</a></li>
				<li><a href="main.php?page=aart">Thêm bài viết</a></li>
			</ul>
		</div>
		<div class="grid_10 blockMain omega " align="center">
			<?php require('include/content.php');?>
		</div>
	</div>
</div>
</body>